package com.lzy.pattern.adapter.class_adapter;

/**
 * @ClassName: TfCardImpl
 * @Description: TODO
 * @Author: LiuZy
 * @Date: 2022/4/23 09:29
 * @Version: 1.0
 */
public class TfCardImpl implements TfCard{

    @Override
    public String read() {
        System.out.println("TF卡读取数据。");
        return "TF卡data";
    }

    @Override
    public void write(String msg) {
        System.out.println("TF卡写入数据:" + msg);
    }
}